package com.zengshuai.miniprogrambackend.Mapper;

import com.zengshuai.miniprogrambackend.Entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<Comment> queryComment(@Param("serviceid") String seriviceid);

    void saveImageurl(@Param("url") String url, @Param("columnName") String columnName);

    void saveComment(@Param("comment") String comment, @Param("rate") String rate, @Param("nickname") String nickname,
                     @Param("orderid") String orderid, @Param("openid") String openid,
                     @Param("serviceid") String serviceid, @Param("headimageurl") String headimageurl, @Param("currentTime") String currentTime);


}
